Optimal. Leaf size=65 \[ \frac{\sqrt{c+d x^2}}{b}-\frac{\sqrt{b c-a d} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^2}}{\sqrt{b c-a d}}\right )}{b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0544701, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {444, 50, 63, 208} \[ \frac{\sqrt{c+d x^2}}{b}-\frac{\sqrt{b c-a d} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^2}}{\sqrt{b c-a d}}\right )}{b^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 444
Rule 50
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{x \sqrt{c+d x^2}}{a+b x^2} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{\sqrt{c+d x}}{a+b x} \, dx,x,x^2\right )\\ &=\frac{\sqrt{c+d x^2}}{b}+\frac{(b c-a d) \operatorname{Subst}\left (\int \frac{1}{(a+b x) \sqrt{c+d x}} \, dx,x,x^2\right )}{2 b}\\ &=\frac{\sqrt{c+d x^2}}{b}+\frac{(b c-a d) \operatorname{Subst}\left (\int \frac{1}{a-\frac{b c}{d}+\frac{b x^2}{d}} \, dx,x,\sqrt{c+d x^2}\right )}{b d}\\ &=\frac{\sqrt{c+d x^2}}{b}-\frac{\sqrt{b c-a d} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^2}}{\sqrt{b c-a d}}\right )}{b^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.0255953, size = 65, normalized size = 1. \[ \frac{\sqrt{c+d x^2}}{b}-\frac{\sqrt{b c-a d} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^2}}{\sqrt{b c-a d}}\right )}{b^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.007, size = 936, normalized size = 14.4 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.43189, size = 539, normalized size = 8.29 \begin{align*} \left [\frac{\sqrt{\frac{b c - a d}{b}} \log \left (\frac{b^{2} d^{2} x^{4} + 8 \, b^{2} c^{2} - 8 \, a b c d + a^{2} d^{2} + 2 \,{\left (4 \, b^{2} c d - 3 \, a b d^{2}\right )} x^{2} - 4 \,{\left (b^{2} d x^{2} + 2 \, b^{2} c - a b d\right )} \sqrt{d x^{2} + c} \sqrt{\frac{b c - a d}{b}}}{b^{2} x^{4} + 2 \, a b x^{2} + a^{2}}\right ) + 4 \, \sqrt{d x^{2} + c}}{4 \, b}, -\frac{\sqrt{-\frac{b c - a d}{b}} \arctan \left (-\frac{{\left (b d x^{2} + 2 \, b c - a d\right )} \sqrt{d x^{2} + c} \sqrt{-\frac{b c - a d}{b}}}{2 \,{\left (b c^{2} - a c d +{\left (b c d - a d^{2}\right )} x^{2}\right )}}\right ) - 2 \, \sqrt{d x^{2} + c}}{2 \, b}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 3.42645, size = 61, normalized size = 0.94 \begin{align*} \frac{2 \left (\frac{d \sqrt{c + d x^{2}}}{2 b} - \frac{d \left (a d - b c\right ) \operatorname{atan}{\left (\frac{\sqrt{c + d x^{2}}}{\sqrt{\frac{a d - b c}{b}}} \right )}}{2 b^{2} \sqrt{\frac{a d - b c}{b}}}\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11184, size = 86, normalized size = 1.32 \begin{align*} \frac{{\left (b c - a d\right )} \arctan \left (\frac{\sqrt{d x^{2} + c} b}{\sqrt{-b^{2} c + a b d}}\right )}{\sqrt{-b^{2} c + a b d} b} + \frac{\sqrt{d x^{2} + c}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]